package com.timebank.volunteer.service;

import com.timebank.common.core.web.pojo.AjaxResult;
import com.timebank.volunteer.pojo.vo.VolunteerListVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shiliuyinzhen
 */
@Service
public interface VolunteerListService {

    /**
     * 获取志愿服务参与名单列表
     * @param volunteerId
     * @return
     */
    List<VolunteerListVO> getVolunteerListById(Long volunteerId);

    /**
     * 批量删除志愿服务参与者
     * @param userIds
     * @param volunteerId
     * @return
     */
    AjaxResult deleteVolunteerListByUserIds(Long[] userIds, Long volunteerId);

    /**
     * 获取缺席名单
     * @param volunteerId
     * @return
     */
    List<VolunteerListVO> getAbsentList(Long volunteerId);
}
